package com.example.springbootmybatis0912.mapper;

import com.example.springbootmybatis0912.domain.Card;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

/**
* @author Lenovo
* @description 针对表【card】的数据库操作Mapper
* @createDate 2024-09-12 16:23:55
* @Entity generator.domain.Card
*/

@Component
public interface CardMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Card record);

    int insertSelective(Card record);

    Card selectByPrimaryKey(@Param("id") Long id);

    int updateByPrimaryKeySelective(Card record);

    int updateByPrimaryKey(Card record);

}
